package com.smxy.daydayup.service.serviceImpl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.smxy.daydayup.mapper.CourseSortMapper;
import com.smxy.daydayup.pojo.CourseSort;
import com.smxy.daydayup.service.CourseSortService;
/**
  * @team daydayup
  * @time 2021-12-06 21:45
  */
@Service
public class CourseSortServiceImpl implements CourseSortService{

    @Resource
    private CourseSortMapper courseSortMapper;

    @Override
    public int deleteByPrimaryKey(Long courseSortId) {
        return courseSortMapper.deleteByPrimaryKey(courseSortId);
    }

    @Override
    public int insert(CourseSort record) {
        return courseSortMapper.insert(record);
    }

    @Override
    public int insertSelective(CourseSort record) {
        return courseSortMapper.insertSelective(record);
    }

    @Override
    public CourseSort selectByPrimaryKey(Long courseSortId) {
        return courseSortMapper.selectByPrimaryKey(courseSortId);
    }

    @Override
    public int updateByPrimaryKeySelective(CourseSort record) {
        return courseSortMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(CourseSort record) {
        return courseSortMapper.updateByPrimaryKey(record);
    }

}
